<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%
String isstock = (String)request.getParameter("isstock");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<link href="../css/css.css" rel="stylesheet" type="text/css" />
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../Js/ajax.js"></script>
<script type="text/javascript">
if (document.all){ 
//window.attachEvent('onload',getDepts());//IE中 9.
window.attachEvent('onload',getPositions(-1));
} 
else{ 
//window.addEventListener('load',getDepts(),false);//firefox 12.
window.addEventListener('load',getPositions(-1),false);
}
</script>
</head>
<body onload="getDepts(0)">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>
    <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
				<tr>
					<td height="100%" align="left">
					<fieldset style="height:100%;">
				<legend>应聘信息查找</legend>
				<form name="candidateForm" method="post" action="candidate.do?method=search&isstock=<%=isstock%>" target="iframe">
				<table width="100%" border="0" cellpadding="2" cellspacing="1" style="width:100%">
					<tr>
					<td nowrap align="right" width="9%">编号：</td>
					<td width="36%"><input name="id" type="text" id="id" class="input"/></td>
					<td><div align="right">应聘部门：</div></td>
					<td><select id="deptId" name="deptId" style="width:155px">
						<option value="">------------请选择------------</option>
						</select></td>
				</tr>
				<tr>
					<td nowrap align="right" width="9%">姓名：</td>
					<td width="36%"><input name="name" type="text" id="name" class="input"/></td>
					<td><div align="right">应聘职位：</div></td>
					<td><select id="positionId" name="positionId" style="width:155px">
						<option value="">------------请选择------------</option>
						</select></td>
				</tr>
					<tr>
					<td nowrap align="right" width="9%">性别：</td>
					<td><select name="gender" style="width:155px">
					     <option value="-1"></option>
                         <option value="1">男</option>
                         <option value="0">女</option>
                         </select> </td>
					<td><div align="right">工作经验：</div></td>
					<td><input name="experience" type="text" id="experience" class="input"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;    
					 <input type="submit" value="确定" class="input"/>
					</td>
				</tr>
				<tr>
					<td nowrap align="right">专业：</td>
					<td><input name="specialty" type="text" id="specialty" class="input"/></td>
					<td><div align="right">毕业学校：</div></td>
					<td><input name="school" type="text" id="school" class="input"/></td>
				</tr>
				<tr>
					<td nowrap align="right">学历：</td>
					<td><input name="education" type="text" id="education" class="input"/></td>
					<td><div align="right">状态：</div></td>
					<td><select name="hired" style="width:155px">
					     <option value="-1"></option>
                         <option value="1">已录用</option>
                         <option value="0">未录用</option>
                         </select> </td>
				</tr>
				</table>
				</form>
			 		 <br />
				</fieldset>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<iframe name="iframe" src="candidate.do?method=list&isstock=<%=isstock%>" align="top" width="100%" height="300" scrolling="yes" frameborder="0"></iframe>	
</body>
</html>